package App.Config;

import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author 王坚
 * @time 2021-06-17
 * @desc 短信相关配置
 */

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SMSConfig {
    @Value("${sms.url}")
    private String url;
    @Value("${sms.account}")
    private String account;
    @Value("${sms.password}")
    private String password;
    @Value("${sms.issendsms}")
    private boolean issendsms;
    @Value("${sms.issendremindsms}")
    private boolean issendremindsms;

}
